package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.entityMirror.SoftwareMirror;
import webEquipeRechercheGwt.client.entityShowingPanel.linkCreationPanel.ToSoftwareLinkCreationPanel;

public class CommandGetAllSoftwaresImplToSoftwareLinkPanel implements
		CommandGetAllSoftwares {

	private ToSoftwareLinkCreationPanel target;
	
	public CommandGetAllSoftwaresImplToSoftwareLinkPanel(ToSoftwareLinkCreationPanel target) {
		this.target = target;
	}

	@Override
	public void execute(Collection<SoftwareMirror> res) {
		target.setSoftwares(res);
	}
}